<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>{$pageTitle}</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Pragma" content="no-Сache" />
		<meta http-equiv="Expires" content="-1" />
		{* Подключаем библиотеки *} 
        <script type="text/javascript" language="JavaScript" src="./lib/jquery/jquery-1.3.2.js"></script>
        <script type="text/javascript" language="JavaScript" src="./lib/jquery/jquery.simplemodal-1.3.js"></script>
        <script type="text/javascript" language="JavaScript" src="./lib/jquery/jquery-ui-1.7.2.custom.min.js"></script>
		<script type="text/javascript" language="JavaScript" src="./lib/jquery/jquery.contextmenu.js"></script>
		<script type="text/javascript" language="JavaScript" src="./lib/jquery/grid.locale-ru.js"></script>		
		<script type="text/javascript" language="JavaScript" src="./lib/jquery/jquery.jqGrid.js"></script>
		{* Подключаем javascript *}		        
        <script type="text/javascript" language="JavaScript" src="./js/auth.js"></script> 
		<script type="text/javascript" language="JavaScript">
		   dateStart = '{$dateStart}';
		   dateEnd = '{$dateEnd}';
		   userId = '{$userId}';
		   userName = '{$userName}';
		</script>	       
		{if $statType eq 'allUsers'}
			<script type="text/javascript" language="JavaScript" src="./js/statisticAllUsers.js"></script>
		{elseif $statType eq 'oneUser'}
			<script type="text/javascript" language="JavaScript" src="./js/statisticOneUser.js"></script>		
		{/if}		
		<script type="text/javascript" language="JavaScript" src="./js/statForm.js"></script>
        {* Подключаем таблицы стилей *}
		<link type="text/css" rel="stylesheet" href="./css/main.css" />
		<link type="text/css" rel="stylesheet" href="./css/menu.css" />        
        <link type="text/css" rel="stylesheet" href="./css/auth.css" />
		<link type="text/css" rel="stylesheet" href="./css/phonebook.css" />
        <link type="text/css" rel="stylesheet" href="./css/jquery-ui-1.7.2.custom.css" />
		<link type="text/css" rel="stylesheet" href="./css/jquery.contextmenu.css" />
		<link type="text/css" rel="stylesheet" href="./css/ui.jqgrid.css" />		
    </head>
    <body>
        {include file="statMenu.tpl"}
		<div id="statDiv">
		<table id="statTable" cellpadding="0" cellspacing="0">
		  <tr>
		  <td>
			<table id="listsg" class="scroll" cellpadding="0" cellspacing="0"></table>
        	<div id="pagersg" class="scroll"></div>			
        	</td>
        	</tr>
        	</table>
		</div>
		<div id="addUserDiv">
                <div id="addUserDivDiv">
                    <a href="index.php">Вернуться к справочнику</a>
                </div>
            </div>                
        {include file=$form}
		{include file="statForm.tpl"}                
    </body>
</html>
